﻿{extend name="public:base" /}

{block name="css"}
<link href="__ADMIN__/css/plugins/datapicker/datepicker3.css" rel="stylesheet">
{/block}

{block name="content"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-content">
                    <form method="post">
                        <div class="box-item">
                            <div class="form-group row"><label class="col-sm-1 col-form-label">编号开头</label>
                                <div class="col-sm-3"><input type="text" name="no_header" class="form-control" placeholder="请输入编号开头" value="{$info.no_header}"></div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>

                        <div class="box-item">
                            <div class="form-group row"><label class="col-sm-1 col-form-label">证书长度</label>
                                <div class="col-sm-3"><input type="number" name="no_length" class="form-control" placeholder="请输入证书长度" value="{$info.no_length}"></div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>

                        <input type="hidden" name="id" value="1">

                        <div class="form-group row">
                            <div class="col-sm-4 col-sm-offset-2">
                                <button type="button" class="btn btn-w-m btn-primary ajax-post">保存</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

{/block}

{block name="js"}
<script src="__ADMIN__/js/plugins/datapicker/bootstrap-datepicker.js"></script>
<script src="__ADMIN__/js/plugins/datapicker/bootstrap-datepicker.zh-CN.min.js"></script>
<script>
    $('#data').datepicker({
        language: "zh-CN",
        format: "yyyy-mm-dd",
        todayBtn: true,
        autoclose: true
    });
</script>

{/block}
